//package com.doubletick.proxy.async;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Component;
//
//import java.util.TimerTask;
//import java.util.concurrent.ExecutorService;
//import java.util.concurrent.Executors;
//
//@Slf4j
//@Component
//public class IpIdeaAsyncExecutor implements Runnable {
//
//    ExecutorService executorService = Executors.newSingleThreadExecutor();
//
//
//    public static Long lastTime = System.currentTimeMillis();
//
//    @Override
//    public void run() {
//        while (true) {
//            TimerTask timerTask = new TimerTask() {
//                @Override
//                public void run() {
//                    log.info("ip idea async executor");
//                }
//            };
//            executorService.execute(timerTask);
//
//        }
//    }
//
//
//}
//package com.doubletick.proxy.async;
//
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.stereotype.Component;
//
//import java.util.TimerTask;
//import java.util.concurrent.ExecutorService;
//import java.util.concurrent.Executors;
//
//@Slf4j
//@Component
//public class IpIdeaAsyncExecutor implements Runnable {
//
//    ExecutorService executorService = Executors.newSingleThreadExecutor();
//
//
//    public static Long lastTime = System.currentTimeMillis();
//
//    @Override
//    public void run() {
//        while (true) {
//            TimerTask timerTask = new TimerTask() {
//                @Override
//                public void run() {
//                    log.info("ip idea async executor");
//                }
//            };
//            executorService.execute(timerTask);
//
//        }
//    }
//
//
//}
